<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="<c:url value="/css/style.css"/>" />
<title>Article items</title>
</head>
<body>
	<table border="0" width = "80%" align="center">
		<tr>
			<td><jsp:include page="header.jsp" /></td>
		</tr>
		<tr>	
			<td>
				<bean:write	name="articleVersionPresentationForm" property="articleVersionDTO.articleType" />
				<!-- <a href="articlePresentationAction.do?articleId=${articleVersionPresentationForm.articleVersionDTO.articleId}">Back</a>-->
			</td>
		</tr>		
		<tr>	
			<td>
				<arttitle>
				<bean:write name="articleVersionPresentationForm" property="articleVersionDTO.title" />
				</arttitle>
			</td>
		</tr>
		<tr>	
			<td bgcolor = "#f5f5f5">
				<author>
				<bean:write name="articleVersionPresentationForm" property="articleVersionDTO.byline.author" />
				<bean:write name="articleVersionPresentationForm" property="articleVersionDTO.byline.timestamp" />
				<bean:write name="articleVersionPresentationForm" property="articleVersionDTO.byline.ip" />
				<bean:write name="articleVersionPresentationForm" property="articleVersionDTO.byline.rating" />
				<bean:write name="articleVersionPresentationForm" property="articleVersionDTO.byline.hitCount" />
				</author>
			</td>
		</tr>
		<tr>	
			<td>
				<!-- Summary : --><br>
				<!--<bean:write name="articleVersionPresentationForm" property="articleVersionDTO.summary" />-->
				<summary>
					<c:out value="${articleVersionPresentationForm.articleVersionDTO.summary}" escapeXml="false" />
				</summary>
			</td>
		</tr>
		<tr>	
			<td>				
				<!-- Body : --><br>
				<!--<bean:write name="articleVersionPresentationForm" property="articleVersionDTO.body" />-->
				<c:out value="${articleVersionPresentationForm.articleVersionDTO.body}" escapeXml="false" />
				<br><br>
			</td>
		</tr>
		<tr>	
			<td bgcolor = "#f5f5f5"> 
				Keywords : <bean:write name="articleVersionPresentationForm" property="articleVersionDTO.keywords" /> <br>
			</td>
		</tr>
		<tr>
			<td>				
				<jsp:include page="footer.jsp" />	
			</td>
		</tr>
	</table>
</body>
</html>
